<?php
/**
 * xysc users Version1.0
 * ==================================
 * Copy 2016-2017
 * Web:www.xjh7.com
 * ==================================
 * Author:lj
 * Date:2016-03-09
*/

	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>轩辕商城-后台</title>
<link rel="stylesheet" type="text/css" href="<?php echo backweb_CSS_URL;?>index.css" />
<link rel="stylesheet" type="text/css" href="<?php echo backweb_CSS_URL;?>common.css" />
<script type="text/javascript">
	function init()
	{
		document.form1.submit();
	}
	function addRole()
	{
		window.location.href="./index.php?r=backweb/role/toAdd"; 
	}
</script>
</head>
<body onload="init()">

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">首页</a></li>
			<li><a href="#">系统管理</a></li>
			<li><a href="#">角色管理</a></li>
		</ul>
	</div>
	<form  name="form1" method="post" action="./index.php?r=backweb/role/query" target="iframe1">
	<div id="table" >
        <div>
             <table class="mt10">
			 <tr>
				 <td class="td_center">角色名称：</td>
				 <td>
				     <input type="text" name="role_name" id="pages_name" maxlength="120" class="input-text"/>
				 </td>
				 <td class="td_center">角色类别：</td>
				 <td>
				    <div class="select_border"> 
                        <div class="select_containers "> 
						     <select name="role_type" class="select">	
						      	 <option value="">全部</option>
							     <option value="0">前台用户</option>
							     <option value="1">商家用户</option>
							     <option value="2">普通管理员</option>
							     <option value="3">超级管理员</option>					
						     </select>
				    	</div>
				     </div>
				 </td>
				  <td >
				  <input type="submit" name="btquery" id="btquery" value="查询" class="btn btn82 btn_search ml25" />
				  <input type="button" value="新增" class="btn btn82 btn_add ml10" onclick="addRole();"/>
				 </td>
			 </tr>
			 </table>
          </div>
          <iframe id="iframe1" name="iframe1" onload="this.height=iframe1.document.body.scrollHeight+20" frameborder="0" marginheight="100" marginwidth="0" width="100%" scrolling="no" ></iframe>
        </div>       
    </form>    
	
</body>
</html>